Calendar = Ext.extend(Ext.app.Module, {
    id: 'calendar-win',
	init: function(){
            this.launcher = {
                    text: 'Calendar',
                    iconCls: 'icon-grid',
                    handler: this.createWindow,
                    scope: this
            }
    },

    createWindow: function() {
            var self = this;
            var desktop = this.app.getDesktop();
            var win = desktop.getWindow('calendar-win');
            if(!win){
                    win = desktop.createWindow({
                            id: 'calendar-win',
                            title: 'Calendar',
							width: 190,
							height: 225,
							resizable: false,
							maximizable: false,
							bbar: this.statusLabel,
							items: new Ext.DatePicker,
                    });
            }
            win.show();
    },
});
